package com.wao.editor.web.rest.errors;

import java.io.Serializable;

public class UploadErrorVM implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer error;

    private String url;

    private String message;

    public UploadErrorVM() {
    }

    public UploadErrorVM(String message) {
        this.error = 1;
        this.message = message;
    }

    public UploadErrorVM(Integer error, String message) {
        this.error = error;
        this.message = message;
    }

    public UploadErrorVM(Integer error, String url, String message) {
        this.error = error;
        this.url = url;
        this.message = message;
    }

    public Integer getError() {
        return error;
    }

    public void setError(Integer error) {
        this.error = error;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
